<!DOCTYPE html>
<html>

<!-- Mirrored from /theme/hplus/table_foo_table.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:20:03 GMT -->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>乡土味士-自媒体后台管理中心 - FooTable</title>
<meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
<meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">
<link rel="shortcut icon" href="favicon.ico">
<link href="__PUBLIC__/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
<link href="__PUBLIC__/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
<link href="__PUBLIC__/css/plugins/footable/footable.core.css" rel="stylesheet">
<link href="__PUBLIC__/css/animate.min.css" rel="stylesheet">
<link href="__PUBLIC__/css/plugins/summernote/summernote.css" rel="stylesheet">
<link href="__PUBLIC__/css/plugins/summernote/summernote-bs3.css" rel="stylesheet">
<link href="__PUBLIC__/css/style.min862f.css?v=4.1.0" rel="stylesheet">
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
  <div class="row">
    <div class="col-sm-12">
      <div class="ibox float-e-margins">
        <div class="ibox-title">
          <button type="button" class="btn btn-w-m btn-success" onClick="window.location.href='__MODULE__/Vadmin/'">返回</button>
          <div class="ibox-tools"> </div>
        </div>
        <div class="ibox-content">
          <div class="row form-body form-horizontal m-t">
            <div class="col-md-12">
              <form name="savearc" id="savearc" method="post" action="__MODULE__/Vadmin/va_upd/" enctype="multipart/form-data">
                <div class="form-group">
                  <label class="col-sm-3 control-label">真实姓名：</label>
                  <div class="col-sm-3">
                    <input type="hidden" name="id" value="{$info.id}">
                    <input type="text" name="name" class="form-control" value="{$info.name}">
                  </div>
                </div>
                <div class="form-group">
                  <label class="col-sm-3 control-label">书记头像：</label>
                  <div class="col-sm-3"> <img class="show" src="__PUBLIC__/Uploads/{$info.img}" style="display:block; width:200px; height:200px;">
                    <input style="display:none;" type="file" name="img" class="form-control">
                  </div>
                </div>
                <div class="form-group">
                  <label class="col-sm-3 control-label">书记简历：</label>
                  <div class="col-sm-9">
                    <textarea name="info" class="col-sm-8" rows="10">{$info.info}</textarea>
                  </div>
                </div>
                <div class="form-group">
                  <label class="col-sm-3 control-label">点赞：</label>
                  <div class="col-sm-1">
                    <input type="number" name="supports" class="form-control" value="{$info.supports}">
                  </div>
                </div>
                <div class="form-group">
                  <label class="col-sm-3 control-label">查看：</label>
                  <div class="col-sm-1">
                    <input type="number" name="clicks" class="form-control" value="{$info.clicks}">
                  </div>
                </div>
                <div class="form-group">
                  <div class="col-sm-12 col-sm-offset-3">
                    <button class="btn btn-primary" type="submit">保存内容</button>
                  </div>
                </div>
              </form>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<script src="__PUBLIC__/js/jquery.min.js?v=2.1.4"></script> 
<script src="__PUBLIC__/js/bootstrap.min.js?v=3.3.6"></script> 
<script src="__PUBLIC__/js/plugins/footable/footable.all.min.js"></script> 
<script src="__PUBLIC__/js/content.min.js?v=1.0.0"></script> 
<script src="__PUBLIC__/js/plugins/summernote/summernote.min.js"></script> 
<script src="__PUBLIC__/js/plugins/summernote/summernote-zh-CN.js"></script> 
<script>
        $(document).ready(function(){
		});
$(".show").click(function(){
	$("input[name='img']").click();//触发click
});

$(document).ready(function(e) {
	var windowURL = window.URL || window.webkitURL;
	$("input[name='img']").change(function(e) {
		dataURL = windowURL.createObjectURL($(this)[0].files[0]);
		$(".show").attr('src',dataURL);
	});
});		
</script> 
</body>

<!-- Mirrored from /theme/hplus/table_foo_table.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:20:03 GMT -->
</html>
